package com.sgj.springcloud.alibaba.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @author 沈国纪
 * @date 2021/6/6 12:23
 */
public interface AccountService {

	/**
	 * 扣减账户余额
	 */
	void decrease(@RequestParam("userId") Long userId, @RequestParam("money") BigDecimal money);
}